<?php
class LinkController extends Custom_Controller_DefaultController
{

	public function init()
	{
		//初始化父类
		parent::init();
		
	}

	public  function indexAction(){
    	$link = new Link();
    	
    	$where="status=1 AND uid=".$this->view->uid;
    	$order='id DESC';
    	$this->view->linkList = $link->getAjaxData($where);
    	
    }
    
    public function viewAction()
    {
    	
    }
}